/* 引入外部字体 */

@font-face {
    font-family: droidSans;
    src: url(实训一素材//font/DroidSans.ttf) format(TrueType);
}

@font-face {
    font-family: economicabold;
    src: url(实训一素材//font/Economica-Bold-OTF.otf) format(OpenType);
}

@font-face {
    font-family: economica;
    src: url(实训一素材//font/Economica-Regular-OTF.otf) format(OpenType);
}

@font-face {
    font-family: bebas;
    src: url(实训一素材//font/BEBAS___.ttf) format(TrueType);
}


/* 初始化样式 */

* {
    margin: 0;
    padding: 0;
}

body {
    background: url(实训一素材//img/tbg.png) repeat;
}


/* 设置背景 */

.wrapper {
    width: 1200px;
    margin: 10px auto;
    padding-bottom: 20px;
    font-family: droidSans;
}

.logo {
    padding-top: 10px;
    position: relative;
    left: 20px;
}

nav {
    margin: 20px auto;
    width: 1150px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 4px gray;
}

nav ul {
    list-style-type: none;
}

nav li {
    display: inline-block;
    padding: 20px 30px;
}

li a {
    text-decoration: none;
    color: gray;
}

li a:hover {
    color: blueviolet;
}

.content {
    /*设置外边框*/
    width: 1150px;
    margin: 10px auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 2px 2px 4px 4px gray;
    padding-top: 10px;
}

.content header {
    /*设置内边框*/
    width: 1100px;
    margin: 10px auto;
    border: 1px solid gray;
    border-top: none;
    /*去除上边框线*/
    border-radius: 5px;
    box-shadow: 0px 2px 1px gray;
}

.content header article {
    background-image: url(实训一素材//img/html5.png);
    background-size: contain;
    background-position: 550px 0;
    background-repeat: no-repeat;
    padding: 100px 20px 80px 100px;
}

.content header article h1 {
    font-family: economicabold;
    font-size: 50px;
    margin-bottom: 50px;
}

.content header article p {
    width: 650px;
    font-size: 23px;
    word-break: keep-all;
    margin-bottom: 40px;
}

.content header article h3 {
    padding: 10px;
    font-size: 20px;
    width: 130px;
    border: 9px solid black;
    border-radius: 20px;
}

.content footer {
    margin: 10px auto;
    width: 1100px;
    overflow: hidden;
}

.content footer section {
    float: left;
}

.content footer section h3 {
    opacity: 0.7;
    margin: 10px 0 10px 20px;
}

.content footer section article {
    width: 250px;
    margin-right: 15px;
    display: inline-block;
}

.content footer section article p,
img {
    opacity: 0.5;
}

.content footer section article img:hover {
    opacity: 1;
}

.content footer aside {
    opacity: 0.7;
    width: 280px;
    float: right;
    padding-bottom: 20px;
}

.content footer aside ul {
    /*ul与h3组合圆角*/
    list-style-position: inside;
    border: 1px solid gray;
    border-radius: 0 0 10px 10px;
    background-color: rgb(218, 216, 216);
    padding: 10px 5px;
}

.content footer aside h3 {
    padding: 10px 15px;
    color: #fff;
    background-color: black;
    border-radius: 10px 10px 0 0;
}

.content footer aside ul li {
    padding: 5px 0;
    line-height: 1.5em;
}